package com.qf.mapper;

/*
 *  @author Administrator
 *  @version V1.0
 *  @Project smartdeviceplatgorm
 *  @Package com.qf.mapper
 *  @Description
 *  @Date2022/3/21 0021 17:35
 */

import com.qf.bean.SysScene;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SysSceneMapper {

    void addSysScene(SysScene sysScene);

    SysScene findBySysSceneNameAndId(@Param("sceneName") String SysSceneName,@Param("userid") Integer userid);

    int updateSysScene(@Param("SysSceneId") Integer SysSceneId,@Param("status") Integer status);
    @Select("select * from sys_scene where scene_id=#{sceneId}")
    SysScene findById(Integer sceneId);
}
